package com.nulldev.util.web.dns.server.message;

public enum DNSRecordClass {
	IN;

    public static DNSRecordClass getRecordClass(int classCode) {
        if (classCode != 1) {
            throw new IllegalArgumentException("Invalid class code.");
        }
        return DNSRecordClass.IN;
    }
}
